package com.zwj.design.creating.absfactory.factories;

import com.zwj.design.creating.absfactory.buttons.Button;
import com.zwj.design.creating.absfactory.buttons.MacOSButton;
import com.zwj.design.creating.absfactory.checkboxes.Checkbox;
import com.zwj.design.creating.absfactory.checkboxes.MacOSCheckBox;

/**
 * 具体工厂
 * @author 张文接
 * @version 1.0
 * @createTime 2024/3/13 15:20
 */
public class MacOSFactory implements GUIFactory {
    @Override
    public Button createButton() {
        return new MacOSButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new MacOSCheckBox();
    }
}
